<?php

namespace Acme\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Acme\MainBundle\Entity\Riesenie
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class Riesenie
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @ORM\ManyToOne(targetEntity="Kolo")
     * 
     * @var Kolo $kolo 
     */
    private $kolo;
    
    /**
     * @ORM\ManyToOne(targetEntity="Riesitel")
     * 
     * @var Riesitel $riesitel
     */
    private $riesitel;
    
    /**
     * @ORM\ManyToOne(targetEntity="Kategoria")
     * 
     * @var Kategoria $kategoria 
     */
    private $kategoria;

    /**
     * @var integer $body
     *
     * @ORM\Column(name="body", type="integer")
     */
    private $body;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set body
     *
     * @param integer $body
     */
    public function setBody($body)
    {
        $this->body = $body;
    }

    /**
     * Get body
     *
     * @return integer 
     */
    public function getBody()
    {
        return $this->body;
    }

    /**
     * Set kolo
     *
     * @param Acme\MainBundle\Entity\Kolo $kolo
     */
    public function setKolo(\Acme\MainBundle\Entity\Kolo $kolo)
    {
        $this->kolo = $kolo;
    }

    /**
     * Get kolo
     *
     * @return Acme\MainBundle\Entity\Kolo 
     */
    public function getKolo()
    {
        return $this->kolo;
    }

    /**
     * Set riesitel
     *
     * @param Acme\MainBundle\Entity\Riesitel $riesitel
     */
    public function setRiesitel(\Acme\MainBundle\Entity\Riesitel $riesitel)
    {
        $this->riesitel = $riesitel;
    }

    /**
     * Get riesitel
     *
     * @return Acme\MainBundle\Entity\Riesitel 
     */
    public function getRiesitel()
    {
        return $this->riesitel;
    }

    /**
     * Set kategoria
     *
     * @param Acme\MainBundle\Entity\Kategoria $kategoria
     */
    public function setKategoria(\Acme\MainBundle\Entity\Kategoria $kategoria)
    {
        $this->kategoria = $kategoria;
    }

    /**
     * Get kategoria
     *
     * @return Acme\MainBundle\Entity\Kategoria 
     */
    public function getKategoria()
    {
        return $this->kategoria;
    }
}